package com.koron.rating.rating.mapper;

import com.koron.rating.rating.bean.RatingCompanyBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: rocky
 * @Date: 2022/1/11 10:23
*/
public interface RatingCompanyMapper {
    int deleteByPrimaryKey(String id);

    int insert(RatingCompanyBean record);

    int insertOrUpdate(RatingCompanyBean record);

    int insertOrUpdateSelective(RatingCompanyBean record);

    int insertSelective(RatingCompanyBean record);

    RatingCompanyBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(RatingCompanyBean record);

    int updateByPrimaryKey(RatingCompanyBean record);

    int updateBatch(List<RatingCompanyBean> list);

    int updateBatchSelective(List<RatingCompanyBean> list);

    int batchInsert(@Param("list") List<RatingCompanyBean> list);

    int deleteByOrderId(@Param("orderId")String orderId);

    List<RatingCompanyBean> queryByOrderId(@Param("orderId")String orderId);

}
